package com.wimcorp.magic.board;

import java.io.Serializable;

public class PlayingDeckPlayingCardId implements Serializable {

	public PlayingDeckPlayingCardId(){}
	
	protected long playingdeckId;

	
	protected long playingcardId;

	
	
	public int hashCode() {
		return (int) (playingdeckId + playingcardId);
	}

	public boolean equals(Object object) {
		if (object instanceof PlayingDeckPlayingCardId) {
			PlayingDeckPlayingCardId otherId = (PlayingDeckPlayingCardId) object;
			return (otherId.playingdeckId == this.playingdeckId) && (otherId.playingcardId == this.playingcardId);
		}
		return false;
	}
}